package com.yeshine.opendata.dao;

import com.yeshine.opendata.core.IDao;
import com.yeshine.opendata.entity.App;
import com.yeshine.opendata.entity.dto.StatisticsResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by taohj on 2014/8/1.
 */
public interface IAppDao extends IDao<App> {

    List<StatisticsResult> selectGroupByTheme(App app);

    List<StatisticsResult> selectGroupByPlatForm(App app);

    int audit(@Param(("auditStatus"))Integer auditStatus, @Param("apps")Integer[] apps);
}
